#ifndef _PDF_WRAPPER
#define _PDF_WRAPPER

/*
 * << Haru Free PDF Library 2.0.0 >> -- text_demo.c
 *
 * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
 *
 * Permission to use, copy, modify, distribute and sell this software
 * and its documentation for any purpose is hereby granted without fee,
 * provided that the above copyright notice appear in all copies and
 * that both that copyright notice and this permission notice appear
 * in supporting documentation.
 * It is provided "as is" without express or implied warranty.
 *
 */

#include <string>
#include "hpdf.h"

class pdfwrapper
{

public:
	pdfwrapper(const char* _fontname="Helvetica", float _fsize=24);
	~pdfwrapper();
   
	static void write(const char* _filename, const char* _str, bool _one_char_per_page = true,
   const char* _fontname="Helvetica", float _fsize=24);

  static bool init(const char* _fontname="Helvetica");

  static HPDF_Doc  pdf;
  static HPDF_Font font;
  static HPDF_Page page;

private:

    float fsize;
    //std::string fontname;
};

#endif
